<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>教学工作量统计系统</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="/Public/layui/css/layui.css"  media="all">
  <link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css">

  <script src="/Public/layui/layui.js" charset="utf-8"></script>
  <script src="/Public/js/jquery-1.11.3.js" charset="utf-8"></script>
  
</head>
<body class="layui-layout-body">
  <div class="layui-layout layui-layout-admin">
    <div class="layui-header">
      <div class="layui-logo" style="font-weight: bold;"><a style="color: #777;" href="http://www.sinon.com/index.php/Admin/indexTeacher/index">WORKLOAD</a></div>
      <!-- 头部区域（可配合layui已有的水平导航） -->
      <ul class="layui-nav layui-layout-right kit-nav">
        <li class="layui-nav-item">
          <a href="javascript:;">
            <img src="http://m.zhengjinfan.cn/images/0.jpg" class="layui-nav-img"> <?php echo ($login_info["teacher_name"]); ?>
          </a>
          <!-- <dl class="layui-nav-child">
            <dd><a href="javascript:;">修改密码</a></dd>
          </dl> -->
        </li>
        <li class="layui-nav-item" id="logout"><a href="javascript:;"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a></li>
      </ul>
    </div>

    <div class="layui-side layui-bg-black">
      <div class="layui-side-scroll">
        <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
        <ul class="layui-nav layui-nav-tree"  lay-filter="test">
          
          <li class="layui-nav-item layui-nav-itemed">
            <a href="javascript:;">教学任务查询</a>
            <dl class="layui-nav-child">
              <dd><a href="http://www.sinon.com/index.php/Admin/CourseSee/index">课程教学任务查询</a></dd>
              <dd><a href="http://www.sinon.com/index.php/Admin/DesignSee/index">课程设计任务查询</a></dd>
              <dd><a href="http://www.sinon.com/index.php/Admin/ProjectSee/index">毕业设计任务查询</a></dd>
            </dl>
          </li>
          <li class="layui-nav-item layui-nav-itemed">
            <a href="javascript:;">工作量统计</a>
            <dl class="layui-nav-child">
              <dd><a href="http://www.sinon.com/index.php/Admin/ProjectWorkloadSee/index">毕业设计工作量统计</a></dd>
              <dd><a href="http://www.sinon.com/index.php/Admin/WorkloadSee/index">教学总工作量统计</a></dd>
            </dl>
          </li>
        </ul>
      </div>
    </div>

<style>
  .xinzeng{
    margin: 0 10px;
  }
  .topic{
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    font-family: Arial;
    text-align: center;
    background: #e6e6e6;
    color: #666;
  }
</style>
<div class="layui-body" >
  <p class="topic">欢迎使用东莞理工学院教学工作量系统</p>
  <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>系统使用说明</legend>
  </fieldset>   
    
  <div style="padding: 20px; background-color: #F2F2F2;">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md6">
        <div class="layui-card">
          <div class="layui-card-header">教学任务查询</div>
          <div class="layui-card-body">
            请各位老师查看自己的教学任务，有误请联系教务处进行修改<br>
            快速查询条件：课程编号、课程名称、教师编号、教师姓名、班级、学期
          </div>
        </div>
      </div>
      <div class="layui-col-md6">
        <div class="layui-card">
          <div class="layui-card-header" id="edit-pwd" ></div>
          <div class="layui-card-body">
            &nbsp;<br>&nbsp;
          </div>
        </div>
      </div>
      <div class="layui-col-md12">
        <div class="layui-card">
          <div class="layui-card-header">工作量统计查询</div>
          <div class="layui-card-body">
            教学任务分配之后将统计教学工作量，请各位老师查看，有误请联系教务处进行修改<br>
            教学总工作量 = 课程教学任务工作量 + 课程设计任务工作量 + 毕业设计工作量
          </div>
        </div>
      </div>
    </div>
  </div>  
</div>
<div class="layui-footer">
      <!-- 底部固定区域 -->
      © Design by tarkasi 2018
    </div>
  </div>
</body>
<script>
    //JavaScript代码区域
    layui.use('element', function () {
        var element = layui.element;
    });
    layui.use('layer', function() { //独立版的layer无需执行这一句
        var $ = layui.jquery, layer = layui.layer; //独立版的layer无需执行这一句
        $('#logout').on('click',function(){
            $('#logout:parent').removeClass('layui-show');
            $('#logout').removeClass('layui-this');
            layer.open({
                title:'温馨提示'
                ,skin: 'demo-class'
                ,content: '确认注销？'
                ,btn: ['确定', '取消']
                ,yes: function(index, layero){
                    //按钮【按钮一】的回调
                    $(location).attr('href', "<?php echo U('Login/logout');?>");
//                    $.post("<?php echo U('Login/logout');?>");
                    layer.close(index);
                }
                ,btn2: function(index, layero){
                    //按钮【按钮二】的回调

                    layer.close(index);
                    //return false 开启该代码可禁止点击该按钮关闭
                }
                ,cancel: function(){

                    //右上角关闭回调
                    //return false 开启该代码可禁止点击该按钮关闭
                }
            });
        });

    });

    $(document).ready(function(){
        $('input').attr('autocomplete', 'off'); 
    })

</script>


</html>